<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Simple Framework: Framework.Core.UIManager类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Simple Framework
   &#160;<span id="projectnumber">v0.1.1</span>
   </div>
   <div id="projectbrief">A simple Unity application framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_framework_1_1_core_1_1_u_i_manager.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="class_framework_1_1_core_1_1_u_i_manager-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">Framework.Core.UIManager类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>界面管理，提供管理界面和界面组的功能，如显示隐藏界面、激活界面。  
 <a href="class_framework_1_1_core_1_1_u_i_manager.html#details">更多...</a></p>
<div class="dynheader">
类 Framework.Core.UIManager 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_framework_1_1_core_1_1_u_i_manager__inherit__graph.png" border="0" usemap="#_framework_8_core_8_u_i_manager_inherit__map" alt="Inheritance graph"/></div>
<map name="_framework_8_core_8_u_i_manager_inherit__map" id="_framework_8_core_8_u_i_manager_inherit__map">
<area shape="rect" id="node2" href="class_framework_1_1_utilities_1_1_mono_singleton.html" title="{MonoSingleton\&lt; UIManager \&gt;\n|+ Instance\l|}" alt="" coords="5,5,200,83"/>
</map>
</div>
<div class="dynheader">
Framework.Core.UIManager 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="class_framework_1_1_core_1_1_u_i_manager__coll__graph.png" border="0" usemap="#_framework_8_core_8_u_i_manager_coll__map" alt="Collaboration graph"/></div>
<map name="_framework_8_core_8_u_i_manager_coll__map" id="_framework_8_core_8_u_i_manager_coll__map">
<area shape="rect" id="node2" href="class_framework_1_1_utilities_1_1_mono_singleton.html" title="{MonoSingleton\&lt; UIManager \&gt;\n|+ Instance\l|}" alt="" coords="5,5,200,83"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a7424ddb34cb4b3637f78abe7df32ab10"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_framework_1_1_core_1_1_u_i_base.html">UIBase</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_core_1_1_u_i_manager.html#a7424ddb34cb4b3637f78abe7df32ab10">Open</a> (string uiName, int layer=1, object args=null)</td></tr>
<tr class="memdesc:a7424ddb34cb4b3637f78abe7df32ab10"><td class="mdescLeft">&#160;</td><td class="mdescRight">打开一个UI。  <a href="#a7424ddb34cb4b3637f78abe7df32ab10">更多...</a><br /></td></tr>
<tr class="separator:a7424ddb34cb4b3637f78abe7df32ab10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd70915d9853c34c9dfdaa91d533228a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_core_1_1_u_i_manager.html#acd70915d9853c34c9dfdaa91d533228a">Close</a> (string uiName)</td></tr>
<tr class="memdesc:acd70915d9853c34c9dfdaa91d533228a"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭指定名称的UI，是从后往前查找。  <a href="#acd70915d9853c34c9dfdaa91d533228a">更多...</a><br /></td></tr>
<tr class="separator:acd70915d9853c34c9dfdaa91d533228a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae465fba1fe8210a6a5c499bca8e4a0dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_core_1_1_u_i_manager.html#ae465fba1fe8210a6a5c499bca8e4a0dc">Close</a> (<a class="el" href="class_framework_1_1_core_1_1_u_i_base.html">UIBase</a> ui)</td></tr>
<tr class="memdesc:ae465fba1fe8210a6a5c499bca8e4a0dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭指定UI对象。  <a href="#ae465fba1fe8210a6a5c499bca8e4a0dc">更多...</a><br /></td></tr>
<tr class="separator:ae465fba1fe8210a6a5c499bca8e4a0dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a3c52cf79bad5e6cf831041777d11ac9a"><td class="memItemLeft" align="right" valign="top">readonly string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_core_1_1_u_i_manager.html#a3c52cf79bad5e6cf831041777d11ac9a">FoldPath</a> = &quot;Prefabs/UI/&quot;</td></tr>
<tr class="memdesc:a3c52cf79bad5e6cf831041777d11ac9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">UI预设目录，位于Assets/Resource/Prefabs/UI/  <a href="#a3c52cf79bad5e6cf831041777d11ac9a">更多...</a><br /></td></tr>
<tr class="separator:a3c52cf79bad5e6cf831041777d11ac9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header properties_class_framework_1_1_utilities_1_1_mono_singleton"><td colspan="2" onclick="javascript:toggleInherit('properties_class_framework_1_1_utilities_1_1_mono_singleton')"><img src="closed.png" alt="-"/>&#160;属性 继承自 <a class="el" href="class_framework_1_1_utilities_1_1_mono_singleton.html">Framework.Utilities.MonoSingleton&lt; UIManager &gt;</a></td></tr>
<tr class="memitem:a35c9a8dcb36043b4834bdd8dd95331f8 inherit properties_class_framework_1_1_utilities_1_1_mono_singleton"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_framework_1_1_utilities_1_1_mono_singleton.html#a35c9a8dcb36043b4834bdd8dd95331f8">Instance</a><code> [get]</code></td></tr>
<tr class="memdesc:a35c9a8dcb36043b4834bdd8dd95331f8 inherit properties_class_framework_1_1_utilities_1_1_mono_singleton"><td class="mdescLeft">&#160;</td><td class="mdescRight">实例  <a href="class_framework_1_1_utilities_1_1_mono_singleton.html#a35c9a8dcb36043b4834bdd8dd95331f8">更多...</a><br /></td></tr>
<tr class="separator:a35c9a8dcb36043b4834bdd8dd95331f8 inherit properties_class_framework_1_1_utilities_1_1_mono_singleton"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>界面管理，提供管理界面和界面组的功能，如显示隐藏界面、激活界面。 </p>

<p class="definition">在文件 <a class="el" href="_u_i_manager_8cs_source.html">UIManager.cs</a> 第 <a class="el" href="_u_i_manager_8cs_source.html#l00010">10</a> 行定义.</p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="acd70915d9853c34c9dfdaa91d533228a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd70915d9853c34c9dfdaa91d533228a">&#9670;&nbsp;</a></span>Close() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Framework.Core.UIManager.Close </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>uiName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>关闭指定名称的UI，是从后往前查找。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">uiName</td><td>UI名称。</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="_u_i_manager_8cs_source.html">UIManager.cs</a> 第 <a class="el" href="_u_i_manager_8cs_source.html#l00053">53</a> 行定义.</p>

</div>
</div>
<a id="ae465fba1fe8210a6a5c499bca8e4a0dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae465fba1fe8210a6a5c499bca8e4a0dc">&#9670;&nbsp;</a></span>Close() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Framework.Core.UIManager.Close </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_framework_1_1_core_1_1_u_i_base.html">UIBase</a>&#160;</td>
          <td class="paramname"><em>ui</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>关闭指定UI对象。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ui</td><td>ui对象</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="_u_i_manager_8cs_source.html">UIManager.cs</a> 第 <a class="el" href="_u_i_manager_8cs_source.html#l00070">70</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="class_framework_1_1_core_1_1_u_i_manager_ae465fba1fe8210a6a5c499bca8e4a0dc_cgraph.png" border="0" usemap="#class_framework_1_1_core_1_1_u_i_manager_ae465fba1fe8210a6a5c499bca8e4a0dc_cgraph" alt=""/></div>
<map name="class_framework_1_1_core_1_1_u_i_manager_ae465fba1fe8210a6a5c499bca8e4a0dc_cgraph" id="class_framework_1_1_core_1_1_u_i_manager_ae465fba1fe8210a6a5c499bca8e4a0dc_cgraph">
<area shape="rect" id="node2" href="class_framework_1_1_core_1_1_u_i_base.html#ae1b8d8a3f68c2119ff6e9099b14d0f87" title="当关闭时执行。 " alt="" coords="240,5,424,47"/>
</map>
</div>

</div>
</div>
<a id="a7424ddb34cb4b3637f78abe7df32ab10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7424ddb34cb4b3637f78abe7df32ab10">&#9670;&nbsp;</a></span>Open()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_framework_1_1_core_1_1_u_i_base.html">UIBase</a> Framework.Core.UIManager.Open </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>uiName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>layer</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>args</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>打开一个UI。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">uiName</td><td>UI预设的名称。</td></tr>
    <tr><td class="paramname">layer</td><td>显示在哪一个层。</td></tr>
    <tr><td class="paramname">args</td><td>附带的参数。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

<p class="definition">在文件 <a class="el" href="_u_i_manager_8cs_source.html">UIManager.cs</a> 第 <a class="el" href="_u_i_manager_8cs_source.html#l00034">34</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a3c52cf79bad5e6cf831041777d11ac9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c52cf79bad5e6cf831041777d11ac9a">&#9670;&nbsp;</a></span>FoldPath</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">readonly string Framework.Core.UIManager.FoldPath = &quot;Prefabs/UI/&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>UI预设目录，位于Assets/Resource/Prefabs/UI/ </p>

<p class="definition">在文件 <a class="el" href="_u_i_manager_8cs_source.html">UIManager.cs</a> 第 <a class="el" href="_u_i_manager_8cs_source.html#l00015">15</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>Assets/Scripts/Core/<a class="el" href="_u_i_manager_8cs_source.html">UIManager.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_framework.html">Framework</a></li><li class="navelem"><a class="el" href="namespace_framework_1_1_core.html">Core</a></li><li class="navelem"><a class="el" href="class_framework_1_1_core_1_1_u_i_manager.html">UIManager</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
